how to get id of parent element in jquery

54

how to get id of parent element in jquery -

$(this).parent().attr('id');

Comments

Submit
0 Comments